package com.jd.ty.web.util;

import java.util.Comparator;

public class AscTreeMapComparator implements Comparator<Long> {

	public int compare(Long arg1, Long arg2) {
		if(arg1==null||arg2==null)
			return 0;
		if (arg1 < arg2) {
			return -1;
		}
		if (arg1 > arg2) {
			return 1;
		}
		return 0;
	}

}
